package cn.sample.system.service.impl;

import cn.sample.system.bean.Resource;
import cn.sample.system.mapper.ResourceMapper;
import cn.sample.system.service.ResourceSupport;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <h2></h2>
 *
 * <p></p>
 *
 * @author HKD
 */
@Service
public class ResourceSupportImpl extends ServiceImpl<ResourceMapper, Resource> implements ResourceSupport {

    @Override
    public List<Resource> getResourceByUserId(Long uid) {
        return baseMapper.getResourceByUserId(uid);
    }
}
